import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const site: AppRouteModule = {
  path: '/caresites',
  name: 'CareSites',
  component: LAYOUT,
  redirect: '/caresites/list',
  meta: {
    orderNo: 700,
    icon: 'ion:globe-outline',
    title: '关注网站',
  },
  children: [
    {
      path: 'list',
      name: 'CareSiteList',
      component: () => import('@/views/hopefly/caresite/CareSiteList.vue'),
      meta: {
        title: '关注网站',
        // ignoreKeepAlive: true,
      },
    },
    {
      path: 'caresite',
      name: 'CareSite',
      component: () => import('@/views/caresite/index.vue'),
      meta: {
        // affix: true,
        title: '网站快照',
      },
    },
  ],
};

export default site;
